package com.lv.utils.FeignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author: Lv_sc
 * Date:     2021/3/29 15:19
 * Description: 描述
 */

@FeignClient(value = "test",url="http://127.0.0.1:9082/web")
public interface TestFeignClient2 {

    @RequestMapping(value = "/config/getCurrentBean",method = RequestMethod.GET)
    ResultDate getBean(@RequestHeader("token")String token,@RequestHeader("loginType")String loginType,@RequestParam(
            "type") String type);

}